<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/18 0018
 * Time: 下午 16:15
 */

namespace Apps\Common\Libs;

class Utils
{

    public static function responseForm($status, $errmsg = "")
    {
        $state = $status ? 10000 : 0;
        return "<script>window.parent.formResult('".$errmsg."', ".$state.");</script>";
    }

}